#ifndef MSGERROR_H_
#define MSGERROR_H_

#include "ObserverGtk.h"
#include <gtkmm.h>
#include <string>
using namespace std;


class MsgError : public ObserverGtk, public Gtk::MessageDialog{
	
	public:
		MsgError(Gtk::Window& parent,
				const Glib::ustring & message,
				bool  use_markup = false,
				Gtk::MessageType type = Gtk::MESSAGE_INFO,
				Gtk::ButtonsType buttons = Gtk::BUTTONS_OK,
				bool modal = false);
	
		void update();
		
		void correr(string msg);
	
};

#endif /*MSGERROR_H_*/
